
	
	

	<!-- jqueryui / 按钮 start-->
	<!-- 框架的组件文档 "https://www.jqueryui.org.cn/demo/5671.html" -->
	<button>一个 button 元素</button>
	<input type="submit" value="一个提交按钮">
	<a href="#">一个锚</a>

	<input type="checkbox" id="check"><label for="check">切换</label>
	<div class="format">
	  <input type="checkbox" id="check1" class="check"><label for="check1">B</label>
	  <input type="checkbox" id="check2" class="check"><label for="check2">I</label>
	  <input type="checkbox" id="check3" class="check"><label for="check3">U</label>
	</div>
	<script type="text/javascript">
		$( "input[type=submit], a, button" )
	      .button()
	      .click(function( event ) {
	        event.preventDefault();
	        console.log($(this).index());
	    });
	    $( "#check,.check")
	      .button()
	      .click(function(){
	      	event.preventDefault();
	        console.log($(this).index());
	      });
    	$( ".format" ).buttonset();
	</script>
	<!-- jqueryui / 按钮 end-->